package edu.spec.dengyan.week04.class01;

public class Seal{

	String name;

	public Seal(){

		name="海象";

	}

	public static void main(String[] args){

		Seal Seal=new Seal();
		System.out.println(Seal.name);

	}

	public void eat(Prawn p){

		System.out.println("I am" + this.name + ", I love eat"
				+ p.getName() + "." );

	}

	public void eat(Sheel s, Prawn p){

		System.out.println("I am" + this.name + ", I love eat"
				+ s.getName() + ", When I young eat " + p.getName());
	}


	public String getName(){

		return name;
	}
}